package cn.mulanbay.admin.api.web.bean.response.user;

import cn.mulanbay.persistent.enums.UserStatus;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class UserVo {

    private Long id;

    private String username;

    private String nickname;

    private String phone;
    /**
     * 邮件发送
     */
    private String email;
    /**
     * 生日
     */
    private LocalDate birthday;

    private Integer age;

    /**
     * 用户等级
     */
    private Integer level;

    //用户状态
    private UserStatus status;

    //用户过期时间
    private LocalDateTime expireTime;

    //头像地址
    private String avatar;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public UserStatus getStatus() {
        return status;
    }

    public void setStatus(UserStatus status) {
        this.status = status;
    }

    public LocalDateTime getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(LocalDateTime expireTime) {
        this.expireTime = expireTime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
